package_name="com.qiyi.video.iv"
# 筛选页元素
class BeiJingIQYLocator:
    all_back = None
    # ****************首页元素main******************
    # 首页搜索按钮
    # 首页爱奇艺logo
    main_logo = f'(resourceId="{package_name}:id/img_logo")'
    main_search_loc = f'(resourceId="{package_name}:id/iv_search_word_tv")'
    main_edit_search_loc = f'(resourceId="{package_name}:id/et_search")'
    main_fengyun_loc = None
    main_enter_search_Loc=f'(resourceId="{package_name}:id/iv_search_word_tv")'
    main_enter_history_Loc = f'(resourceId="{package_name}:id/user_avatar")'
    main_enter_mine_Loc = f'(resourceId="{package_name}:id/user_avatar")'
    main_top_loc = None
    main_fengyun_back = None
    main_shaixuan_back = None
    #######################个人中心页面 mine###############################
    mine_back_loc = f'(resourceId="{package_name}:id/iv_personal_frame_back")'
    mine_history_loc = f'(text="观看历史")'
    mine_collect_loc = f'(text="收藏")'
    mine_setting_loc = f'(text="设置")'
    mine_history_back_loc = f'(resourceId="{package_name}:id/iv_personal_frame_back")'
    mine_collect_back_loc = f'(resourceId="{package_name}:id/iv_personal_frame_back")'
    mine_setting_back_loc = f'(resourceId="{package_name}:id/iv_personal_frame_back")'
    # ****************历史记录元素 history******************
    # 历史记录 页面返回
    history_back_loc = f'(resourceId="{package_name}:id/iv_personal_frame_back")'
    # ****************搜索页面元素search******************
    # 搜索页面的输入框
    search_edit_search_loc = main_edit_search_loc
    # 搜索页搜索
    search_tv_search_loc = f'(resourceId="{package_name}:id/tv_search")'
    # 精确搜索结果，立即播放
    search_playNo1 = f'(resourceId="{package_name}:id/iv_search_result_ppc_album_epg_name",text="1")'
    # 搜索页面返回
    search_back_loc = f'(resourceId="{package_name}:id/iv_back")'
    # ****************播放页元素play******************
    # 播放页左上角返回
    play_back_loc = f'(resourceId="{package_name}:id/btn_back")'
    # 播放页seekbar
    play_seekbar_loc=f'(resourceId="{package_name}:id/play_progress")'
    # 音频模式加载页面
    audio_loading_loc=f'(resourceId="{package_name}:id/loading_main")'
    # 音频模式按钮
    audio_mode_loc = f'(resourceId="{package_name}:id/audio_button")'
    # 选集
    tv_anthology_loc = f'(resourceId="{package_name}:id/tv_change_episode")'
    # 倍速
    tv_speed_loc = f'(resourceId="{package_name}:id/tv_change_speed_play")'
    # 分辨率
    tv_bit_rate_loc = f'(resourceId="{package_name}:id/linear_play_rate")'
    # 视频模式
    tv_change_video_loc = f'(resourceId="{package_name}:id/play_video")'
    tv_loading_loc = f'(text="精彩即将开始")'
    # 一键回到首页_adb命令
    cmd_enter_to_mainpage1 = f'am start -n {package_name}/com.iqy.iv.MainActivity'
    #######################判断页面############
    judge_main_page = "com.arcvideo.car.home.activity.MainActivity"
    judge_play_page = "com.arcvideo.car.play.acivity.PlayerActivity"
    judge_search_page = "com.arcvideo.car.search.activity.SearchActivity"
    judge_history_page = "com.arcvideo.car.user.activity.HistoryActivity"
    judge_center_page = "com.arcvideo.car.user.activity.UserCenterActivity"
    judge_collect_page = "com.arcvideo.car.user.activity.CollectActivity"
    judge_setting_page = "com.arcvideo.car.user.activity.SettingActivity"
if __name__ == '__main__':
    pass